﻿// -----------------------------------------------------------------------
// <copyright file=PhieuThamDoChucNangChiTietBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class PhieuThamDoChucNangChiTietBusiness
    {
        PhieuThamDoChucNangChiTietDataAccess objDa = null;

        public PhieuThamDoChucNangChiTietBusiness()
        {
            objDa = new PhieuThamDoChucNangChiTietDataAccess();
        }

        public bool InsertPhieuThamDoChucNangChiTiet(PhieuThamDoChucNangChiTietEntity obj)
        {
            return objDa.InsertPhieuThamDoChucNangChiTiet(obj);
        }

        public bool EditPhieuThamDoChucNangChiTiet(PhieuThamDoChucNangChiTietEntity obj)
        {
            return objDa.EditPhieuThamDoChucNangChiTiet(obj);
        }

        public bool DeletePhieuThamDoChucNangChiTiet(string maThamDoChucNang, string maChiTieu)
        {
            return objDa.DeletePhieuThamDoChucNangChiTiet(maThamDoChucNang, maChiTieu);
        }

        public bool DeletePhieuThamDoChucNangChiTiet_ByMaThamDoChucNang(string maThamDoChucNang)
        {
            return objDa.DeletePhieuThamDoChucNangChiTiet_ByMaThamDoChucNang(maThamDoChucNang);
        }

        public PhieuThamDoChucNangChiTietEntity GetPhieuThamDoChucNangChiTiet(string maThamDoChucNang, string maChiTieu)
        {
            return objDa.GetPhieuThamDoChucNangChiTiet(maThamDoChucNang, maChiTieu);
        }

        public IList<PhieuThamDoChucNangChiTietEntity> GetPhieuThamDoChucNangChiTietList()
        {
            return objDa.GetPhieuThamDoChucNangChiTietList();
        }

        public IList<PhieuThamDoChucNangChiTietEntity> GetPhieuThamDoChucNangChiTietByMaThamDoCNList(string MaThamDo)
        {
            return objDa.GetPhieuThamDoChucNangChiTietByMaThamDoCNList(MaThamDo);
        }

    }
}